package com.xiangmo.travel.mapper;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiangmo.travel.Entity.Team;
import com.xiangmo.travel.Entity.TeamUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* @author a1304
* @description 针对表【team_user】的数据库操作Mapper
* @createDate 2023-03-23 09:21:27
* @Entity generator.Entity.TeamUser
*/
@Repository
public interface TeamUserMapper extends BaseMapper<TeamUser> {
    //校验是否已经存在 不可再进行添加
    TeamUser selectAllByTeamIdAndUserId(@Param("teamId") Long teamId, @Param("userId") Long userId);
}
